﻿public class Todo:ISoftDelete
{
    public int Id { get; set; }
    public string Content { get; set; }
    public bool IsComplete { get; set; }
    public DateTime? CompleteTime { get; private set; }
    public DateTime CreationTime { get; private set; }
    public bool IsDeleted { get; set; }

    public Todo Complete()
    {
        IsComplete = true;
        CompleteTime = DateTime.Now;
        return this;
    }
}
